package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "SysUsersRoles对象")
public class SysUsersRoles implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", hidden = true)
	@TableId(value = "user_role_ID", type = IdType.AUTO)
	private Long userRoleId;

	@ApiModelProperty(value = "角色id")
	@TableField("role_ID")
	private Long roleId;

	@ApiModelProperty(value = "用户id")
	@TableField("user_ID")
	private Long userId;


}
